EraseDisc method

Erases the currently loaded re-writable disc in the drive. Using bQuickErase set to True will erase the program area of the disc, but not the actual data. Otherwise, the entire disc will be erased sector by sector. Not using bQuickErase can take 15 minutes or more. An EraseDiscStart event will fire followed by an EraseDiscComplete event  when the operation is complete.

Return Type

A Boolean value.

Syntax

object.EraseDisc(bQuickErase As Boolean)

The EraseDisc method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterPro.
bQuickErase Boolean